//
//  BCCoinTypeQrCodeView.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/15.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import <UIKit/UIKit.h>

@class UserWalletChargeData;

@protocol BCCoinTypeQrCodeViewDelegate <UIScrollViewDelegate>

- (void)pasteAddressAction:(NSString *)pasteText;

@end

@interface BCCoinTypeQrCodeView : UIScrollView


/**
 * BCCoinTypeQrCodeViewDelegate
 */
@property (nonatomic, weak) id <BCCoinTypeQrCodeViewDelegate> codeDelegate;

/**
 *title eg:BTC adress
 */
@property (nonatomic, copy) NSString *title;

/**
 *adress 地址
 */
@property (nonatomic, copy) NSString *address;

/**
 *qrImage
 */
@property (nonatomic, weak, readonly) UIImage *qrImage;

/**
 *instructions 说明
 */
@property (nonatomic, copy) NSString *instructions;


//setActions
- (void)setTitle:(NSString *)title
          adress:(NSString *)address
      qrImageURL:(NSString *)imageURL
    instructions:(NSString *)instructions;

- (void)showContent:(BOOL)show;

/**
 *UserWalletChargeData
 */
@property (nonatomic, strong) UserWalletChargeData *chargeData;

@end

